<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>JQuery快速入门</title>
    <script src="../js/jquery-3.3.1.min.js"></script>
</head>
<body>
    <div id="div1">div1.....</div>
    <div id="div2">div2.....</div>

<script>
    //使用JQuery获取元素对象
   var div1= $(`#div1`);
   alert(div1.html());

</script>
</body>
</html>